package com.yzc.user;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;

/**
 * @TableName t_user
 */
@TableName(value ="t_user")
@Data
public class UserBean implements Serializable {
    private Integer id;

    private String name;

    private String pass;


    private String beizhu;

    @TableLogic
    private Integer state;

    private static final long serialVersionUID = 1L;

    @TableField(exist = false)
    private int[] roleids;

//    角色民名称信息
    @TableField(exist = false)
    private String rolenames;

//    角色的id信息
    @TableField(exist = false)
    private String roleidString;

    @TableField(exist = false)
    private String newpass;
}